export interface Cert {
  id: number
  userId: number
  name: string
  brief: string
}

export interface CertDetail {
  id: number
  userId: number
  name: string
  brief: string
  exams: Array<Exam>
}

export interface Series {
  id: number
  userId: number
  category: number
  name: string
  brief: string
}

export interface Exam {
  id: number
  userId: number
  name: string
  paperId: number
}

export interface ExamPlan {
  id: number
  userId?: number
  name: string
  examId: number
  paperId?: number
  createTime?: string
  publishTime?: string
  startTime: string | null
  endTime: string | null
}

export interface UserExam {
  examId: number
  name: number
}

export interface UserExamDetail {
  id: number
  examId: number
  questionIds: Array<number>
  mode: number
  needCheck: boolean
  showAnswer: boolean
}

export interface WrongExam {
  id: number
  name: string
  examId: number
  wrongNum: number
  okNum: number
}

export interface MyExam {
  id: number
  examId: number
  exam: string
  score: number
  startTime: number
  endTime: number
}

export interface Paper {
  examId: number
  name: number
}
